<script>
	import Vue from 'vue';
	import renewToken from 'common/renewToken.js'
	export default {
		globalData: {
			mainColor: '#13B97A',
			barColor: '#b9190a',
			ttop: (uni.getSystemInfoSync().statusBarHeight) + 'px',
			winHeight: (uni.getSystemInfoSync().screenHeight) - (44 + 50 + (uni.getSystemInfoSync().statusBarHeight)) +
				'px',
			clientId: ''
		},
		onLaunch: function(option) {
			// 刷新Tonken
			renewToken(option)
		},

		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	@import './static/css/uni.css';
	@import './static/css/iconfont.css';
	@import './static/css/common.css';

	/*每个页面公共css */
	@import "~@/static/styles/app.scss";
	/*公共css */
	@import url("@/assest/css/common.css");

	page {
		// background: #f8f8f8;
	}
</style>